package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.TblRpaChargeTask;
import com.settlement.system.model.param.RpaChargeTaskUpdateApiRequestParams;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * RPA3.0专项费用充值-任务表 Mapper 接口
 * @author xiaochuan
 * @since 2021-03-09
 */
public interface TblRpaChargeTaskMapper extends BaseMapper {
    /**
     * 获取合计
     *
     * @param params 请求参数
     * @return
     */
    public TblRpaChargeTask getFoot(@Param("params") Map<String, Object> params);

    /**
     * updateByParam
     * @param params
     * @return
     */
    public Integer updateByParam(RpaChargeTaskUpdateApiRequestParams params);

    /**
     * getAvailableBalance
     * @param params
     * @return
     */
    public List<Map<String,Object>> getAvailableBalance(@Param("params") Map<String, Object> params);

    /**
     * getByDetailNumberId
     * @param detailNumberId
     * @return
     */
    public TblRpaChargeTask getByDetailNumberId(@Param("detailNumberId") String detailNumberId);

}

